<?php
define('ROOT_PATH',  str_replace('\\', '/', dirname(dirname(dirname(__FILE__))))."/");
require_once ROOT_PATH . 'lib/qrcode/phpqrcode.php';
$url = urldecode($_GET["data"]);
QRcode::png($url);
